package com.design.softwaredesign.mapper;

import com.design.softwaredesign.entity.Good;
import com.design.softwaredesign.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BackUserMapper {
    public List<User> getUserInfo(String query, Integer userState);

    public Integer addUser(User user);

    public Integer updateUserInfo(User user);


    public void deleteUserByUserId(String userId);

    public void deleteIwantTrace(String userId);
}
